import request from "@/utils/request";

// 话费充值配置列表
export function getAppQyHuafeiConfigList(query) {
  return request({
    url: "/app/getAppQyHuafeiConfigList",
    method: "get",
    params: query,
  });
}

// 话费充值配置单条
export function getAppQyHuafeiConfigInfo(query) {
  return request({
    url: "/app/getAppQyHuafeiConfigInfo",
    method: "get",
    params: query,
  });
}

// 话费充值配置新增
export function addAppQyHuafeiConfig(data) {
  return request({
    url: "/app/addAppQyHuafeiConfig",
    method: "post",
    data,
  });
}

// 话费充值配置编辑
export function updateAppQyHuafeiConfig(data) {
  return request({
    url: "/app/updateAppQyHuafeiConfig",
    method: "post",
    data,
  });
}

// 话费充值配置删除
export function deleteAppQyHuafeiConfig(data) {
  return request({
    url: "/app/deleteAppQyHuafeiConfig",
    method: "post",
    data,
  });
}
